//
//  SectionsViewController.h
//  iPhoneDev01
//
//  Created by smu on 11-7-9.
//  Copyright 2011年 duk. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface SectionsViewController : UIViewController 
    <UITableViewDelegate, UITableViewDataSource>
{
    UITableView *table;
    UISearchBar *search;
    NSDictionary *allNames;
    NSMutableDictionary *names;
    NSMutableArray *keys;
    
    BOOL isSearching;
}
@property (nonatomic,retain) IBOutlet UITableView *table;
@property (nonatomic,retain) IBOutlet UISearchBar *search;
@property (nonatomic,retain) NSDictionary *allNames;
@property (nonatomic,retain) NSMutableDictionary *names;
@property (nonatomic,retain) NSMutableArray *keys;
- (void)resetSearch;
- (void)handleSearchForTerm:(NSString *)serrchTerm;

@end
